﻿@model CmsChannelListVm
<ul id="news_list" class="news_list">
    @if (Model.ContentList.Any())
    {
        foreach (var item in Model.ContentList)
        {
            <li class="transtion">
                <a class="clearfix" href="/ContentUI?id=@item.Id" target="_brank">
                    <div class="group_news_left fl">
                        <h2 class="group_news_title auto_cut">
                            @item.Title
                        </h2>
                        <h4 class="group_news_details auto_cut1">
                            @item.Summary
                        </h4>
                    </div>
                    <div class="group_news_right fr">
                        <div>
                            @item.AddTime
                        </div>
                        <div class="clearfix group_news_right_j">
                            <div class="group_news_right_line fl"></div>
                        </div>
                    </div>
                </a>
            </li>
        }
    }
</ul>

@await Component.InvokeAsync(typeof(PaginationViewComponent), new { channelId=Model.Id,pageIndex=Model.PageIndx,pageSize=Model.PageSize,totalRow=Model.TotalRow,pathUrl ="/ChanUI/Index"})